LinuxQMISDK-Lite  SLQS04.00.27
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
BasicConnectDeviceService.h File Reference

Go to the source code of this file.

Data Structures

struct  MbimEventEntry
 

Typedefs

typedef struct MbimEventEntry MbimEventEntry
 

Functions

int BasicConnectDeviceService_DeviceServiceSubscribeSetSend (MbimTransaction *pTransaction, MbimTransport *pTransport, uint32_t elementCount, MbimEventEntry *elements)
 
int BasicConnectDeviceService_DeviceServiceSubscribeParse (uint8_t *informationBuffer, uint32_t informationBufferLength, uint32_t *pElementCount, MbimEventEntry *elements)
 
const uint8_t * BasicConnectDeviceService_Uuid ()
 

Typedef Documentation

This structure represents the command IDs (CIDs) of indications related to a specific MBIM device service for which a user will be informed.

Parameters
DeviceServiceId
  • The MBIM device service's UUID which relates to the indications.
CidCount
  • Number of CIDs for which indications are to be generated. 0 means all CIDs of that MBIM device service.
Cids
  • Fixed size array of CIDs. The first 'CidCount' elements of the array will be passed to the device, upto a maximum of MBIM_MAX_CIDS.

Function Documentation

int BasicConnectDeviceService_DeviceServiceSubscribeParse ( uint8_t *  informationBuffer,
uint32_t  informationBufferLength,
uint32_t *  pElementCount,
MbimEventEntry elements 
)

Parse a MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST response to an array of MbimEventEntry elements.

Parameters
[in]informationBufferResponse's information data.
[in]informationBufferLengthNumber of bytes of information in response.
[in,out]pElementCountOn input, max number of elements which will be filled. On output, actual number of elements filled by parsing response.
[in]elementsArray of elements to be written to by parsing response.
Returns
0 on success, < 0 on failure.
int BasicConnectDeviceService_DeviceServiceSubscribeSetSend ( MbimTransaction pTransaction,
MbimTransport pTransport,
uint32_t  elementCount,
MbimEventEntry elements 
)

Send a MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST command to the device service and return immediately.

Parameters
[in]pTransactionTransaction object which will track the command/response.
[in]pTransportMBIM transport object which will carry out the command.
[in]elementCountNumber of MbimEventEntry elements in the command.
[in]elementsArray of elements.
Returns
0 on success, < 0 on failure.
Note
pTransaction must have been initialized with MbimTransaction_Initialize prior to this call.
const uint8_t* BasicConnectDeviceService_Uuid ( )

Returns the UUID for the MBIM Basic Connect device service.

Returns
UUID

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved